package org.cnc.explain.lifecycle.hookbean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * #TODO: desc
 * </p>
 *
 * @author zhiyong.tan
 * @since 2022-09-14
 */
@Configuration
@ComponentScan(basePackages = "org.cnc.explain.lifecycle.hookbean")
public class HookBeanConfiguration {

	@Bean(initMethod = "customInitMethod", destroyMethod = "customDestroy", name = "xxx")
	public HookBean testHookBean(){
		return new HookBean();
	}

}

